#pragma once
#include "Service.h"
#include <QTreeWidgetItem>
class CServiceGetLogicNodeDirectory :
    public CService
{
public:
    CServiceGetLogicNodeDirectory(void);
    virtual ~CServiceGetLogicNodeDirectory(void);
    BOOL LogicNodeDirectory(QStringList *ServerDirectoryList);
    //void SetItem(QTreeWidgetItem *ServerDirectoryItem);
    BOOL OnGetLogicNodeDirectory(const char * szLNRef, int iClass,
        CMTree & tree);
public:
    void ServiceName();
private:
    QStringList m_LogicNodeDirectory;
    //QTreeWidgetItem *m_lnitem;

    void PrintTree(CMTree & tree);
    void PrintVar(CAcsiVar & var);
    void PrintType(int type, int size);
};
